// 所有的接口都封装在这里

// 先导入自己封装的axios
import http from './axios'

// 酷玩品类
export let playCategory = () => http('http://localhost:3000/play/category')

// 注册--data是用户信息
export let register = (data) => http.post('http://localhost:3000/users/register', data)

